<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 *      [PinTuXiu] (C)2001-2099 ONightjar.com Pintuxiu.com.
 *      This is NOT a freeware, use is subject to license terms
*/

class mobile_api{
	
	var $version="0.0.1";
	var $console=true;
	
	public function __construct() {
		$this->pz = &get_instance();
	}

	public function afterinstall(){
		$settingapi = load_api('setting');
		$setting = $settingapi->getSetting('mobile');
		
		$setting['thumb_width'] = '1024';
		$setting['thumb_height'] = '768';
		$setting['quality'] = '0.7';
		$setting['showarticle'] = '0';

		$settingapi->updateSetting('mobile',$setting);
		return true;
	}

	public function afteruninstall(){
		return true;
	}

}